package edu.bw.service;

import edu.bw.dto.InsertRoleForm;
import edu.bw.dto.SelectRoleByConditionForm;
import edu.bw.dto.UpdateRoleForm;
import edu.bw.utils.PageUtils;

import java.util.List;
import java.util.Map;

public interface RoleService {
    PageUtils selectRoleByCondition(SelectRoleByConditionForm selectCondition);

    Integer insert(InsertRoleForm insertRoleForm);

    List<Map<String, Object>> selectById(Integer id);

    Integer update(UpdateRoleForm updateRoleForm);

    Integer deleteRoleByIds(List<Integer> ids);

    List<Map<String, Object>> selectAllRole();
}
